html, body
{
    height: 100%;
}
img { border:none; }
body
{
    font: 12px 'Lucida Sans Unicode', 'Trebuchet MS', Arial, Helvetica;    
    margin: 0;
    background-color: #d9dee2 !important;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ebeef2), to(#d9dee2));
    background-image: -webkit-linear-gradient(top, #ebeef2, #d9dee2);
    background-image: -moz-linear-gradient(top, #ebeef2, #d9dee2);
    background-image: -ms-linear-gradient(top, #ebeef2, #d9dee2);
    background-image: -o-linear-gradient(top, #ebeef2, #d9dee2);
    background-image: linear-gradient(top, #ebeef2, #d9dee2);    
}


/***************************************************
                    LOGIN
***************************************************/
#login
{
    background-color: #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    background-image: -webkit-linear-gradient(top, #fff, #eee);
    background-image: -moz-linear-gradient(top, #fff, #eee);
    background-image: -ms-linear-gradient(top, #fff, #eee);
    background-image: -o-linear-gradient(top, #fff, #eee);
    background-image: linear-gradient(top, #fff, #eee);  
    height: 240px;
    width: 400px;
    margin: -150px 0 0 -230px;
    padding: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;  
    -webkit-box-shadow:
        0 0 2px rgba(0, 0, 0, 0.2)

}

/* TITRE ET TRAITS*/

#login h1
{
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0px 2px 0 rgba(0, 0, 0, .5);
    text-transform: uppercase;
    text-align: center;
    color: #666;
    margin: 0 0 30px 0;
    letter-spacing: 4px;
    font: normal 26px/1 Verdana, Helvetica;
    position: relative;
}

#login h1:after
{
    background-color: #777;
    content: "";
    height: 1px;
    position: absolute;
    top: 15px;
    /** changer cette valeur pour augmenter les traits **/
    width: 30px;   
}
#login h1:before
{
    background-color: #777;
    content: "";
    height: 1px;
    position: absolute;
    top: 15px;
    /** changer cette valeur pour augmenter les traits **/
    width: 30px;   
}

#login h1:after
{ 
    background-image: -webkit-gradient(linear, left top, right top, from(#777), to(#fff));
    background-image: -webkit-linear-gradient(left, #777, #fff);
    background-image: -moz-linear-gradient(left, #777, #fff);
    background-image: -ms-linear-gradient(left, #777, #fff);
    background-image: -o-linear-gradient(left, #777, #fff);
    background-image: linear-gradient(left, #777, #fff);      
    right: 0;
}

#login h1:before
{
    background-image: -webkit-gradient(linear, right top, left top, from(#777), to(#fff));
    background-image: -webkit-linear-gradient(right, #777, #fff);
    background-image: -moz-linear-gradient(right, #777, #fff);
    background-image: -ms-linear-gradient(right, #777, #fff);
    background-image: -o-linear-gradient(right, #777, #fff);
    background-image: linear-gradient(right, #777, #fff);
    left: 0;
}

/* FIN TITRE ET TRAIT */


/* ENCADREMENT FORM */
#login fieldset
{
    border: 0;
    padding: 0;
    margin: 0;
}

/* FIN ENCADREMENT FORM */

#inputs input
{
    background: #f1f1f1 url(../img/login-sprite.png) no-repeat;
    padding: 15px 15px 15px 30px;
    margin: 0 0 10px 0;
    width: 353px; /* 353 + 2 + 45 = 400 */
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
}

#username, #loginOrEmail
{
    background-position: 5px -2px !important;
}

#password
{
    background-position: 5px -52px !important;
}

#result
{
    padding-bottom: 15px;
}

#inputs input:focus
{
    background-color: #fff;
    border-color: #e8c291;
    outline: none;
    -moz-box-shadow: 0 0 0 1px #e8c291 inset;
    -webkit-box-shadow: 0 0 0 1px #e8c291 inset;
    box-shadow: 0 0 0 1px #e8c291 inset;
}

/*--------------------*/
#actions
{
    margin: 25px 0 0 0;
}

#submit
{		
    background-color: #9D1D08;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#B40000), to(#9D1D08));
    background-image: -webkit-linear-gradient(top, #B40000, #9D1D08);
    background-image: -moz-linear-gradient(top, #B40000, #9D1D08);
    background-image: -ms-linear-gradient(top, #B40000, #9D1D08);
    background-image: -o-linear-gradient(top, #B40000, #9D1D08);
    background-image: linear-gradient(top, #B40000, #9D1D08);

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;

    /*text-shadow: 0 1px 0 rgba(255,255,255,0.5);*/

    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;    

    border-width: 1px;
    border-style: solid;
    /*border-color: #d69e31 #e3a037 #d5982d #e3a037;*/

    float: left;
    height: 35px;
    padding: 0;
    width: 120px;
    cursor: pointer;
    font: bold 15px Arial, Helvetica;
    /*color: #8f5a0a;*/
    color:white;
}

#submit:hover,#submit:focus
{		
    background-color: #B40000;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#9D1D08), to(#B40000));
    background-image: -webkit-linear-gradient(top, #9D1D08, #B40000);
    background-image: -moz-linear-gradient(top, #9D1D08, #B40000);
    background-image: -ms-linear-gradient(top, #9D1D08, #B40000);
    background-image: -o-linear-gradient(top, #9D1D08, #B40000);
    background-image: linear-gradient(top, #9D1D08, #B40000);
}	

#submit:active
{		
    outline: none;

    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;		
}

#submit::-moz-focus-inner
{
    border: none;
}

#actions a
{
    color: #3151A2;    
    float: right;
    line-height: 35px;
    margin-left: 10px;
}

/*--------------------*/

#back
{
    display: block;
    text-align: center;
    position: relative;
    top: 60px;
    color: #999;
}



/***************************************************
                    END LOGIN
***************************************************/




/***************************************************
                    Main containers
***************************************************/

#container{

    width:100%;
    min-height: 100%;
}

#top {
    overflow:auto;
    min-height: 100%;
    padding-bottom: 100px;
}  

/***************************************************
                    HEADER
***************************************************/

#header{
    position:relative;
    padding-top: 35px;
    margin:0 auto;
    width:980px;
    background-color:transparent;
}

#header h1{
    float:right;
    font: bold 50px Arial, Helvetica;
    margin-top: 10px;
}

#deconnexion{
    margin-top: -20px;
    clear: both;
    float: right;
}

#link{
    margin-right: 40px;
    clear: both;
    float: right;
}

#label-hello{
    float: right;
    margin-top: 65px;
    margin-right: -100px;
}

/***************************************************
                    END HEADER
***************************************************/


/***************************************************
                    PAGE CONTENT
***************************************************/


#page-content {
    background-color: #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    background-image: -webkit-linear-gradient(top, #fff, #eee);
    background-image: -moz-linear-gradient(top, #fff, #eee);
    background-image: -ms-linear-gradient(top, #fff, #eee);
    background-image: -o-linear-gradient(top, #fff, #eee);
    background-image: linear-gradient(top, #fff, #eee);  
    margin: auto;
    width: 980px;
    padding-bottom:20px;

}

.cbxChartColumns { margin-right:5px !important; }

#projets{
  
    width: 100%;
    height:10%;

    /*border-right-style: solid;
    border-right-width: 1px;
    border-right-color: #000000;

    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: #000000;
    
    border-top-style: solid;
    border-top-color: #000000;
    border-top-width: 1px; */
   
    /*border-bottom-width: 1px;
    border-bottom-color: #000000;
    border-bottom-style: solid;*/
    
}

#projets h2
{
    float: left;
    margin-left: 50px;
    margin-top: 15px;
}

#projets select
{
    float: left;
    margin-left: 10px;
    margin-top: 20px;
}

#button-add{
    float: right;
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    /*margin-top: 100px;
    margin-left: 50px;*/
    
    background-color: #9D1D08;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#B40000), to(#9D1D08));
    background-image: -webkit-linear-gradient(top, #B40000, #9D1D08);
    background-image: -moz-linear-gradient(top, #B40000, #9D1D08);
    background-image: -ms-linear-gradient(top, #B40000, #9D1D08);
    background-image: -o-linear-gradient(top, #B40000, #9D1D08);
    background-image: linear-gradient(top, #B40000, #9D1D08);

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;

    /*text-shadow: 0 1px 0 rgba(255,255,255,0.5);*/

    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;    

    border-width: 1px;
    border-style: solid;
    /*border-color: #d69e31 #e3a037 #d5982d #e3a037;*/

    
    height: 35px;
    
    width: 170px;
    cursor: pointer;
    font: bold 15px Arial, Helvetica;
    color: white;
}

#button-add:hover,#button-add:focus
{		
    background-color: #B40000;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#9D1D08), to(#B40000));
    background-image: -webkit-linear-gradient(top, #9D1D08, #B40000);
    background-image: -moz-linear-gradient(top, #9D1D08, #B40000);
    background-image: -ms-linear-gradient(top, #9D1D08, #B40000);
    background-image: -o-linear-gradient(top, #9D1D08, #B40000);
    background-image: linear-gradient(top, #9D1D08, #B40000);
}	

#button-add:active
{		
    outline: none;

    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;		
}

#bouton-add:-moz-focus-inner
{
    border: none;
}

#dialog-add{
    display:none;
}

#dialog-add label{
    
}
.chart_wrap { width: 100%; height:450px; clear:right; }
.chart_wrap h2 { margin-left: 50px; }
.chart_container { float:left; width:980px; }

.chart { height:400px; }

.expand-h { float: right; }

.param-date{
    display:none;
}

.param-graphe{
    
    display:none;
    margin-right:15px;
    float:right;
    width:17%;
    height: 90%;
    
    /*border-right-style: solid;
    border-right-width: 1px;
    border-right-color: #000000;

    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: #000000;
    
    border-top-style: solid;
    border-top-color: #000000;
    border-top-width: 1px; 
   
    border-bottom-width: 1px;
    border-bottom-color: #000000;
    border-bottom-style: solid;*/
    
}

#axis-x, #axis-y{
    padding-left: 15px;
}

table.jqplot-table-legend {
    display: block;
    height: 330px;
    overflow-y: scroll;
}



#resetChart { margin-top:50px; }
#toolbar { height:16px; margin:0 10px;  background: url("../img/ui-bg.png") repeat-x scroll 50% 50% #CCCCCC; border: 1px solid #AAAAAA;}
#toolbar div { float:right; }

.overlay-shadow { background-color: rgba(0, 0, 0, 0.8); display: none; height: 100%; left: 0; position: fixed; top: 0; width: 100%; z-index: 10; }

div.overlay-chart-container {
            display: none;
            z-index: 11;
            position: absolute;
            width: 980px;
            left: 50%;
            margin-left: -440px;
            background-color: white;
        }

div.overlay-chart-container div.ui-icon {
            float: right;
            margin: 3px 5px;
        }

/***************************************************
                   TIME PICKER
***************************************************/
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

/***************************************************
                    END PAGE CONTENT
***************************************************/

/***************************************************
                    FOOTER
***************************************************/


#footer{
    position: relative;
    margin-top: 20px; 
    height: 100px;
    clear:both;
    background-image: url(../img/footer.png);
    color:#ffffff;
}


#footer a{color:#ffffff;text-decoration:underline}
#footer a:hover{color:#804249;text-decoration:underline}
#footer a:visited  {color:#ffffff;text-decoration:underline}
#foot {width:800px;margin:0 auto;height:100px;line-height:1.1em;padding:0 0 0 0}
#left {width:400px;float:left;padding-top:15px}
#right {width:250px;float:right;text-align:right;padding-top:15px}




/***************************************************
                    END FOOTER
***************************************************/



/***************************************************
                    ADMIN
***************************************************/


#admin{
    
    margin-top: 20px; 
    
}

#user-dialog, #project-dialog, #user-dialog-delete, #user-dialog-update, #project-dialog-delete, #project-dialog-update{
    display: none;
}

#user-add-form-input label, #form-add-csv label, #user-update-form-input label, #project-add-form-input label, #project-update-form-input label{
    display: block;
    width: 220px;
    float: left;
}


.ui-dialog .ui-state-error { padding: .3em; }
.validateTips { border: 1px solid transparent; padding: 0.3em; }

label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
p { clear: both; }
.submit { margin-left: 12em; }

/***************************************************
                    ADMIN
***************************************************/

#logo{
    margin-top:15px;
    margin-bottom: 15px;
}